package com.cp.weixin.crawler.config;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;


@Configuration
@PropertySource("classpath:config.properties")
@Data
@ToString
@NoArgsConstructor
public class Config {

	@Value("${weixin.base.url}")
	private String weixinUrl;

	@Value("${weixin.img.down.path}")
	private String weixinImagePath;

	@Value("${weixin.cookie}")
	private String weixinCookie;

}
